simetrix.AxisOptions

class simetrix.AxisOptions(*values)

Bases: Enum

Enum for specifying logarithmic or linear axis options. Used with Grid.plotData() and other plotData methods

Attributes

DEFAULT

Linear if the axis currently empty, that is there are no curves plotted in the parent grid.

LINEAR

Axis forced to be linear even if previously logarithmic.

LOGARITHMIC

Axis forced to be logarithmic even if previously linear provided that all plotted data points are >0.

AUTO

Log/lin option selected based on the data.

AUTO = 3

Log/lin option selected based on the data. Only effective for first curve plotted.

DEFAULT = 0

Linear if the axis currently empty, that is there are no curves plotted in the parent grid. Otherwise the axis will retain its previous log/lin option.

LINEAR = 1

Axis forced to be linear even if previously logarithmic.

LOGARITHMIC = 2

Axis forced to be logarithmic even if previously linear provided that all plotted data points are >0.